Skip to content

Instantly share code, notes, and snippets.

@gsamat
gsamat / 00-CLAUDE.md
Created March 18, 2026 20:45
Технический аудит с ИИ-помощником

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What This Is

Technical and architectural audit of a system. This is an evolving documentation vault, not a codebase.

Language

# ============================================
# Ghostty Terminal - Complete Configuration
# ============================================
# File: ~/.config/ghostty/config
# Reload: Cmd+Shift+, (macOS)
# View options: ghostty +show-config --default --docs
# --- Typography ---
font-family = JetBrainsMonoNerdFont
font-size = 14
@dmattera
dmattera / launchctl_man_pages.md
Last active March 21, 2026 11:37
macOS man page entries for launchctl services

This list was auto-generated on macOS 10.15 (Catalina) using a script that did the following:

  1. grabbed the name of all the .plist files located in the 5 folders used by launchctl:
  • ~/Library/LaunchAgents Per-user agents provided by the user.
  • /Library/LaunchAgents Per-user agents provided by the administrator.
  • /Library/LaunchDaemons System wide daemons provided by the administrator.
  • /System/Library/LaunchAgents OS X Per-user agents.
  • /System/Library/LaunchDaemons OS X System wide daemons.
@nilaoda
nilaoda / downloader.py
Last active March 21, 2026 11:35
Download and decrypt an M3U8 file that contains BBTS.
# Download and decrypt an M3U8 file that contains BBTS.
# python version: 3.9.13
# date: 2023-06-21
# module 'downloader' author: Yu.Ge.
import importlib
import base64
import time
import os
import requests
@nilaoda
nilaoda / ts_decrypter.py
Last active March 21, 2026 11:35
TS decrypter enhanced with multiprocessing.
import argparse
import importlib
import base64
import os
import sys
import tempfile
from datetime import datetime
import multiprocessing
import time
@Tithen-Firion
Tithen-Firion / 1_WeTV_cKey_function.md
Last active March 21, 2026 11:34
WeTV - cKey function

Here's the code (in JavaScript and Python) to make the cKey for downloading stuff from WeTV. This works for encryption version 8.1. Both versions accept the same arguments, first 5 (vid, tm, appVer, guid and platform) are the same as in the call to https://play.wetv.vip/getvinfo. url is optional for JavaScript but required for Python - that's the URL of the page you're on. userAgent, referer, navCodeName, navName and navPlatform are optional, check the code for default values.

Usage

JavaScript

makeCKey(/* arguments here */);
@mathcodes
mathcodes / dsa_pattern.md
Last active March 21, 2026 11:27
14 DSA Patterns to Master

14 Coding Patterns To Master

This is a collection of coding patterns I have learned to solve not only some of the most common problems, but the 14 patterns (yes, there are way more than 14, but the point here is taking 6 months of preparation and condensing it into a 30 minute read that would not take more than 1-2 weeks to master. I have found these problems and patterns to be the most useful in that the data structures and algorithms are used in many other problems and become familiar over time. Good luck!

Please feel free to comment if you got some value or find any errors!

Thanks!

Table of Contents

Moving Files with SharePoint Online REST APIs in Microsoft Flow

About

This is an overview of how to move files with Microsoft Flow using the SharePoint - Send an HTTP request to SharePoint action and SharePoint Online REST APIs.

These SharePoint Online REST APIs can be used outside of Flow, but you will need to handle authentication and provide an X-RequestDigest header with any POST requests (as with any SP REST POST request).

In the case of Flow's SharePoint - Send an HTTP request to SharePoint action, authentication is handled for you and you do not need to provide the X-RequestDigest header.

@bdebon
bdebon / rodin.md
Created March 18, 2026 15:32
Rodin – Interlocuteur socratique pour discussions sociétales profondes — anti-chambre d'écho
name description
rodin
Interlocuteur socratique pour discussions sociétales profondes — anti-chambre d'écho

Tu es Rodin, un interlocuteur intellectuel exigeant. Tu incarnes ce rôle pour toute la durée de la conversation. Ne brise jamais le personnage.

Activation

  1. Lis et intègre la synthèse portrait du portrait de l'utilisateur : [OPTIONEL A FAIRE DE VOTRE COTÉ] — c'est ton contexte permanent sur ton interlocuteur. Ne la résume pas, ne la mentionne pas. Intègre-la silencieusement.
@a-c-m
a-c-m / reflection.md
Last active March 21, 2026 11:23
reflection.md - a way to have claude-code self improve its context.

You are an expert in prompt engineering, specializing in optimizing AI code assistant instructions. Your task is to analyze and improve the instructions for Claude Code. Follow these steps carefully:

  1. Analysis Phase: Review the chat history in your context window.

Then, examine the current Claude instructions, commands and config <claude_instructions> /CLAUDE.md /.claude/commands/*